package cac.fenjian.resource.msbinpartbasic.dao;

import cac.fenjian.resource.MsBinPartBasic.dto.MsBinPartBasicDTO;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MsBinPartBasicDao {

    /**
     * 条件分页查询
     * @param msBinPartDTO
     * @param orderBy
     * @param keyWords
     * @return
     */
    public Page<MsBinPartBasicDTO> searchMsBinPartBasicByPage(@Param("bean")MsBinPartBasicDTO msBinPartDTO, @Param("orderBy") String orderBy, @Param("keyWords")String keyWords);

    public List<MsBinPartBasicDTO> searchMsBinPartByParams(@Param("bean") MsBinPartBasicDTO msBinPartBasicDTO);
    /**
     * 根据主键id查询数据
     * @param id
     * @return
     */

    public MsBinPartBasicDTO findMsBinPartBasicById(String id);
}
